In InternalPartition.cpp (that should be .ixx I guess), you must export your partition, and export the definiton of Internal, so when MyLibrary.cpp import it, it has access to the exported class.
export module MyLibrary:InternalPartition;
...
export class Internal
...