Fix travis build for Python 3.