Add pkg-config support.

Signed-off-by: James Hunt <james.hunt@ubuntu.com>