Add check to avoid usage of broken LuaJIT < 2.0.0beta8