Make version numbers and revisions work with git