Fix compile error on windows.