This also tidies up the mkver.sh script and adds the replaceVersionStrings() function to build-utils.sh for use globally.