Always rebuild it when building dist (#15877)
Fixes #13372
Summary of the issue:
When rebuilding dist, some code changes were not detected. SCons does not trigger a new build.
Description of user facing changes
None
Description of development approach
dist will always be considered obsolete.