s4-pynet: some systems don't have Py_TYPE()