Use VTK6 variable in CMake.