fix build outside the Git repo