OSX support

Nothing fancy.