Fix build error on windows.