Fully working OSX support