Fixed error in build script