add lua5.2 support