Removed unused code in build script [ci skip]