Fixing build for python2.6