Add support for Mac OS X