Fix compilation error against Lua 5.1