fix for version-specific PETSc enums