Fix travis build errors due to changes in travis python setup.