Adding apt-get update before installing wget.

Fixes #1