Include VTK version in lib name for VTK 6+.

Starting in VTK 6, VTK libraries have the version number as part of
the file name, rather than just having it in the soname extension.