fixed debug build on Windows.