Since FreeBSD is unix based we also use the concept of $HOME. Use the same include and code as Linux. Signed-off-by: Emmanuel Vadot <manu@freebsd.org>