Changing the DebugUtil.h to avoid crashes on windows.