Complete support for FreeBSD

completes
https://github.com/devernay/openfx/commit/fdbdcf8afd0bd10af7b08d3f94631f
e17fc1349b