Make configure.ac work on older versions of pkg-config.