views: Fix compilation error.