in_addr is defined in <Winsock2.h>, include before <ws2tcpip.h>
strnlen() is only available from Visual Studio 2005+
_stat64 is a function, __stat64 is the structure
Variadic macros is only available from Visual Studio 2005+
qsort_r is only available from Visual Studio 2005+
Secure CRT is only available from Visual Studio 2005+
Define IO_REPARSE_TAG_SYMLINK if its not defined by WinNT.h