Set JAVA_HOME and install Postgres header files

*  So we can install `pg` and `rjb` gems