Fixing minimal-net for Cygwin.
Merge pull request #265 from mkovatsc/cygwin-minimal-net

Fixing minimal-net for Cygwin.