proper windows preprocessor detection
Merge pull request #691 from benwaffle/master

fixed MSWindows detection in network.h