support lua5.2
refine configure.in