fix windows compile.