fixed compilation - added detection for _WIN32_WINNT
Merge pull request #104 from snikulov/cmake_fixes_msvc2012

fixed compilation - added detection for _WIN32_WINNT