updated compile files for OSX