Fix compile on windows.