fix windows compile