Add MinGW32 options to cmake and expose to cmake-gui.