CMake config file fixes

Fix typo's, and store the pkgconfig output dir (for use by dependent packages)