ABI compatibility layer between Lua 5.1 and Lua 5.2