fixed MSWindows detection in network.h