Fix compilation of Vector when configured with PETSc

this bug was introduced in e5f7ade