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

fixed compilation - added detection for _WIN32_WINNT
Revert "fixed compilation - added detection for _WIN32_WINNT"

This reverts commit d1ea5e525e7f8ba886eb4bc72155e6d68dafc269.
Merge pull request #105 from hintjens/master

Revert "fixed compilation - added detection for _WIN32_WINNT"
Terminate context in a child process of fork() to replace file descriptors to not interfere with parent process's context