preliminary support for FreeBSD