Long range effects on the optical model of 6He around the Coulomb barrier