Fix for DebugMem config on Windows