vtk: fix --with-examples option

VTK fails to compile when the --with-examples option is used.
The solution is to turn the BUILD_TESTING flag ON, for builds with the -examples option.

See issues #683 and #1453.