Fix -p/-P option when current user is not "postgres"

Specify the database to connect to explicitly as "postgres", don't rely
on it defaulting to the user name.
Detect failures in make all and make install