Improvements to documentation and pkg-config template.