Fixed dependencies for Travis CI

(cherry-picked from aff3a8e)