Create the cc configuration file only if the configurations are present

[#77048866]