[cxxmodules] Bring back accidentally removed code. Fixes OSX symbol resolution.
[cxxmodules] Bring back accidentally removed code. Fixes OSX symbol resolution.

olifre/root,karies/root,olifre/root,karies/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,karies/root,karies/root,olifre/root,root-mirror/root,root-mirror/root,karies/root,olifre/root,karies/root,karies/root,root-mirror/root,root-mirror/root,karies/root,root-mirror/root,karies/root,olifre/root,root-mirror/root,karies/root,olifre/root,olifre/root,root-mirror/root,olifre/root,karies/root,olifre/root