Fix build script to pass OSS repo. validation