Fix magit settings for Windows