Small fixes to the install file to be more accurate about checking for pgsql.