Fix build on windows.