[LuaJIT]: Necessary changes for LuaJIT implementation