Fixed petsc::buildinternalstructure for mixed numbering (can't be symmetric).