remove unneeded libs