fix window compilation