Fix static CRT selection.
Fix CFLAGS for static-CRT build.

Setting the variables to only "/MT(d)" resets all other flags to their defaults, so the debug build used release flags.
Merge pull request #206 from chrullrich/fix-win-build

Fix CMake configuration for Windows build