Fix dependencies and travis config