Non-homogeneous persistent random walks and averaged environment for the L\'evy-Lorentz gas