removing unnecessary files from libs