vtkModule: fix subdirectory calculations
The build directory needs a different variable; the source directory
should not be the same in the situations where the if
is necessary.
The build directory needs a different variable; the source directory
should not be the same in the situations where the if
is necessary.