Fix the PostgreSQL install errors