Fix work with lua 5.2 eventually.