Updated compilation environment for Mac OSX