These changes should allow the site building tools to work with python 2.7