[ET Trac] #2880: backport ExternalLibraries changes for gcc-15, and RPM-based repos to Kruskal