Changed build script in attempt to fix version numbers not setting correctly