Remove obsolete stuff from build script.