Updated build-related files to build on osx env.