remove superfluous libs