Add support for FreeBSD.