Influence of defects on Nb3Sn and V3Si superconducting properties