Lua52 mingw

Add support for inet_pton/inet_ntop to compile with MinGW on Windows.