fix incorrect use of git version macro