Revert "Revert "Added VTK check for Debug and Release""

This reverts commit dad2a7e9e40b4e7e4f26dd15c82feb4edbdba373.