Fixes compile error with DebugMem on Linux