Refine the varaiable on windows.