Windows fixes: Need to link ws2_32; needed change on how to do link flags
and core changes:
Removed LUASOCKET_DEBUG.
LUA_LIBRARIES needed to be changed to LUA_LIBRARY.