Initial work towards Lua 5.2 support.