Fix for compilation with python 2.6.8 Remap PyCapsule to PyCObject based on the macro being available instead of using the python version