Fix build issue when VTK_ENABLE_KITS is ON.
This is temporary fix for build issues introduced by 42cd4ce4 when VTK_ENABLE_KITS is ON. We are reverting to old behavior when VTK_ENABLE_KITS is ON.
This is temporary fix for build issues introduced by 42cd4ce4 when VTK_ENABLE_KITS is ON. We are reverting to old behavior when VTK_ENABLE_KITS is ON.