Fix broken Ipv4 serialization on win32