fix type in build script