Added _DEBUG define to debug builds on Windows.