Cleanup unused libraries