Allow to cross compile for Windows with Linux/Mingw (part 3 of 3, cmake) (#1150)
* #mingw #cmake: rules for native and cross compilation
* #mingw #cmake: fix CMakeLists.txt for using with MinGW under Windows
* #mingw #cmake: fix typo (BUILD_ENV_WIN -> BUILD_ENV_MSVC)