Fixed bug while loading vtk libraries on init.