Add Debian version check scheme for PETSc and SLEPc.