Fix not using GIT_VERSION when defined