Lua 5.2 compat.
Can be compiled against either 5.2 or 5.1.