Fix compile in Windows