Fix cuda < 6.5 cc detection.