Fix compile error on Windows.