build: add support for pkg-config