Work around a cmake/git bug on windows.