Fix error in build script