Removed unnecessary stuff from build scripts.