VTK6 cmake fixes
VTK6 code fixes. VTK5 backward compatibility