Make autoinstall of packages dependent on version >= 24.