Fixed build environment for OSX