Modified the build to save the git version into the distribution

tarball.