Fix build when git is not availible