Fix minor bug in build script.