Quick fix for GC breakage after changes in Cython 0.18
Update after removal of PetscShell in petsc-dev