Fix a bug in the Build Script's version updater