Fix build error in windows