fix windows compile issue