Fix compiling error when building without LuaJIT