support LuaJIT 2.1