Detect alternative versions correctly