Fix postgresql path finding code

Replace POSTGRESQL_EXECUTABLE with PG_CONFIG_EXECUTABLE,
the former isn't really needed, the latter is.