[modules] Add missing #include, found by modules build. We need a class
definition in order to apply isa<...>.