Move the build-time constant only to the final writing step.
Post-process units to remove Persistent when disabled.