Add a FreeBSD in a few places.
Try to make it build that way.