contrib: Check that prebuilt contrib will have valid .pc files
If the pc files we generate don't contain the expected prefix, we will fail to replace it by @@CONTRIB_PREFIX@@
which will cause the later builds using those .pc to use invalid path.
However, since the .pc files are present, the configure step succeeds only to fail at build time.
Edited by Hugo Beauzée-Luyssen