add support for FreeBSD
add support for FreeBSD