Fix compilation of Vector when configured with PETSc

this was introduced in e5f7ade
Merge pull request #119 from tjhei/fix_petsc_compile

Fix compilation of Vector when configured with PETSc