[GHC] #14314: Consider changing CC detection strategy