configure: Add support for FreeBSD.