Added missing #ifdef guards for the VTK conversion code.