Fixed bug in build script.