token: Force shared lib only when building with VTK_WRAP_PYTHON
This is a third party change but this third party is not tracked correctly yet.
Sister MR is here: dcthomp/token!7
Will be backported to paraview/release
Edited by Mathieu Westphal (Kitware)