std::atomic<double> link fail