Linker error with CXX_MODULES

If I build static libs on Windows, it works: