fixed new build scripts -3.7.2 for OSX