Fix compilation with mingw32
Fix compilation with mingw-w64
Call FreeEnvironmentStringsW on correct pointer
OFUDPSocket: Use SOCKET on Win32
PLATFORMS.md: Add Windows 8.1 and MinGW-w64