fixed Windows-specific codes to compile in the nightlies.