Implement support for OSX