Create and install .pc files

This pull request is the reworked version for creating and installing pkg-config's .pc files.

This include also the correct version detected by makefile.