Try another fix for sh.exe
:: (For MinGW make to work correctly sh.exe must NOT be in your path)
:: http://stackoverflow.com/a/3870338/2288008
set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
+set PATH=C:\MinGW\bin;%PATH%
:: Workaround for CMake not wanting sh.exe on PATH for MinGW
REM set PATH=%PATH:C:\Program Files (x86)\Git\bin;=%
