Upgrade the build system to use constants for defaults