Missed a change needed for Python 2.6 in v0.8
Merge pull request #175 from robwebset/Python2.6-v0.8

Additional changes needed for Python 2.6 on top of v0.8