Fixed build on Lua 5.1