Windows compatibility adjustments