Revert "build: adjust build for various support libraries to not depend on libc"

Doing this breaks linking in really annoying ways, so backing out this
change. It really is not that much of an issue especially since libload
knows how to avoid loading the same library multiple times.

This reverts commit 4ad846f1b897ee38272c2e08e4238e8b1eb388a9.