Fix R Windows patch