Remove extra libs.