add inet_pton win32 compatibility