Added LuaJIT support, downgraded Lua to version 5.1.4