Fix compilation errors for grass provider