C4GuiWindow.cpp: include correct header (cmath) for std::isnan