python 3 support

Simple change to make thrift install on python 3.