hopefully fixed windows compile problems