fix a build script issue