modify to search pg_config path