I think with C in particular it's counterbalanced by it's extreme compile times forcing devs to be picky with their libraries.
Another factor that probably helps is that most operating systems are built off C derivatives and thus usually are already carrying common libararies as dlls