Fixed view compilation in windows