Patch /etc/hosts to include hostname pointer.

Not having this entry breaks the JDK unfortunately.

Related to travis-ci/travis-ci#1723 and travis-ci/travis-ci#1178.