[travis] Fix installation on dependencies in OS X