More lib changes to python 3 support