rebuild libaries