Fixed library removal