Fixed installation process for the travis build.