Updated CMake to work for MingW.