Generalize common compile-time constants.