remove embedded libs