If pg_config is not found, don't override paths

If pg_config is not found and either --with-pgsql-lib or
--with-pgsql-includes is given, the values are ignored.
Fix this.