Add FreeBSD support

TODO: add to the bootstrap script too