Fix build error for Windows.