Add support for lua5.2