[MP] Fix crashing when mixing C/C++ runtimes

This commit fixes crashing when mixing C/C++ runtimes between the engine
binary, and renderer library. This was due to sharing C++ objects between
the two which is generally bad, unless said object is pure virtual.