fix compilation (weak_ptr)