remove needless libs