Support LUA 5.1

Hi, This seems specific to LUA 5.2+ how about supporting 5.1? any compatibility issues?

Thanks, Rajesh