ENH: fix vtk6 library linking issues.