Fix boost::atomic<T*>