MDL-41787 make sure maturity constants are defined before they are used from core_component