added guard to prevent linking VTK with Qt5