Fix dependencies for building on Travis.