Fix compilation with Lua 5.1