Clean compile on OSX