Add support for OSX