Compile and work on OSX