Fixed problem with Lua52

--HG--
branch : stable
Merge stable
Removed tag stable