Make ConfigCompiler::HandleInclude return an inline dictionary

fixes #8047