Remove libs that are not needed