windows specific fixes