Making our stub C class work on python3x again