windows compile fix