Proper build dependency detection and linkage.

URLFetch should only search for it's dependencies when the plugin is
enabled. Dealer should use detected include and library directories.
CGroups and Blastbeat plugins were missing some of their link libraries.