Added pkg-config support

This patch adds pkg-config support. This has been tested on OS X and FreeBSD using the expat parser. No tests with the libxml parser have been made.
This was taken from
http://git.infradead.org/users/dwmw2/openconnect.git/commitdiff/372bd3daf