Changed to MinGW makefiles
:: Configure.
-cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%PREFIX% .
+cmake -G "MinGW Makefiles" -D CMAKE_INSTALL_PREFIX=%PREFIX% .
if errorlevel 1 exit 1
:: Build.
-nmake
+make
if errorlevel 1 exit 1
:: Install.
-nmake install
+make install
if errorlevel 1 exit 1
