Lua 5.1 compatibility; includes LuaJIT compatibility.