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.