Fixed compile error on Windows.