Fix MvcBuildView compilation errors