Add support for FreeBSD