Sadly, @Gondos is probably correct.
We start with replacing some of the Windows-specific code with STL (eg, filesystem, strings, math, etc.). IMHO anything outside of the Orbitersdk dir can and should be replaced with generic C++ code.
But, yeah, at some point we'll have to bite the bullet and...