Fix compilation error under Windows