Remove the old SM lib.