Fix configuration for cases where pg_config
not on path. Also quiet some linux warnings