Fix dependencies for Travis CI.