Fix a GCC build error
Fix several Win32 CMake script errors

It should now generate MinGW Makefile correctly on Win32.
Create wxBitmap from constructor instead of operator=

The operator= method does not work on MinGW.
Add OS difference abstraction library

Supposedly, this commit should work on Win32.  But it's not tested yet.