Compiles for OSX
File modes