[mconfig] Remove dependency on build time settings