WIP: fix pkg-config

Open Christian Engwer requested to merge fix-pkg-config into master

Corresponding to dune-common!910 this MR is a start to fix pkg-config support.

Merge request reports