Fix compiling with new BSOD in debug mode
Fix Lua includes in luasocket builtin