LuaJIT auto detect FIX