Revert "Add missing libraries to some program Makefiles"

This reverts commit 35617968ec499b8b149c69bdcacfb952b81264bc.

* It turns out the above referenced changes were not necessary; other
  /lib fixes made the link issue go away.

* This commit should fix issue #2661