Fixing a build script