Use the official pkgconfig command.

Much cleaner. Thanks @jgrevich!