Clean up unused libraries