Ensure main is rebuilt if git version changes