Lua: fix up for LuaJIT