Add missing direct library dependencies

The deb package build warns about symbols used that are not resolved directly by the linked libraries. This pull request fixes these warnings.