Fix optiboot detection