Adjustments to CMake cfg to compile with MinGW32