Fix for DebugMem config on Windows

This pull request supersedes pull request [#1427](https://github.com/blackberry/GamePlay/pull/1427)