configure: consolidate dependencies in one pkg-config call

Makes it easier for unexperienced contributors to patch configure.ac