fixed windows compile