MDL-42932 core_lib: added missing $CFG declaration