Changes for initialization on windows.