Fix build error under Windows