enable pkgconfig-depends for tests and benchmarks

This patch enables pkgconfig-depends for test suites and benchmarks.

Previously, this field was parsed but its contents were not applied to tests and benchmarks by the configure step.
updateLibrary and updateExecutable were already in place, I wanted to maintain consistency with them.