Use pkgconfigdir variable instead of hardcoded libdir/pkgconfig
Let an external script print install directories to make variable names less hardcoded.