fix copy/paste parts in osx-build script