add support for OS X