Rename luaL_reg to luaL_Reg for Lua 5.2 compatibility