lua5.1 and luajit compatibility