FreeBSD support.
Merge remote-tracking branch 'origin'