(Core/System.cpp) Buildfix for mingw