Changed the way Postgres and Maven are installed, to better fit CentOS.