windows comopilation fix