Modify OSX build.