Initialize the size properly on windows