salt extend lib