Updated build script. [ci skip]