Fix compilation on windows for ipv6 code
Merge pull request #593 from BtbN/win_fixes

Fix compilation on windows for ipv6 code