Updated the build number generator to work with GIT