Attempt to fix CPython 3.2 / Pypy3 compatiblity.