Changed intrusive_ref_counter to follow CRTP design.