Add support for MacOS and (hopefully) other BSD derivatives.