Add check to avoid usage of broken luajit < 2.0.0beta8