Fix recursive view compilation