An attempt to fix a problem with Lua 5.1