Fix travis-ci builds for python2.6