Build system fixes
Export pkgconfig files so we can link against this externally, and make the API nice enough to link against in panloader
Export pkgconfig files so we can link against this externally, and make the API nice enough to link against in panloader