vtkModule: check for imported targets
The real check should be whether the target is an imported target, not an alias. The latter only happens in a build where namespaces are used.
Cc: @charles.gueunet
Backport: paraview/release
Edited by Ben Boeckel