Fix debug builds on Windows.