compat with lua5.2
compat with lua5.2
support mingw