Fixes a error when installing dependencies for travis ci.