Adds support for OS X