Fixed windows compile defintions