Support for FreeBSD / Mac OSX systems