Add pkg-config support.

This needs generated from a template but its ok for now.