fix an build script issue