Applied patch http://www.lua.org/bugs.html#5.2.3-2