[boost] Problems with serialization of weak_ptr