simplify logic of finding postgres server binaries by using pg_config

I found that using `pg_config` to find just the server binaries still produced failures because `pg_dump` is a different version from `pg_config` even.  So I changed it to prefer `pg_config --bindir` over the `PATH`.  On reflection, this seems the most likely configuration to be consistent.