For MinGW cmake invocations, remove TortoiseGit from path since it contains sh.exe which makes mingw32-make go wild.