Made the thing run in Linux.

So now it compiles properly in Linux, now that all the MSVC-specific stuff is replaced.