Removing reference to nonexistent library