compile on OSX