Configure travis to install library dependencies.

Needed for the ruby-filemagic gem.