[boost] problem comparing shared_ptr pointers