Support for Python <2.7

~2-line fix to support running on Python 2.6 and possibly below.