Fixed to compile in windows.