backward compatibility for python 2.6

only some small modification, then crython can support python2.6 now.