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.