Use pkgconfigdir variable as it is not sure it will be libdir/pkgconfig.

Let an external script handle printing of installation directories so
that printing can be done in a `cleaner' way without tests.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>