Role of Second-Neighbor Interaction in Diluted Ferromagnetic Systems