fix version replace in build script