Remove unneeded lines in PETSc build