Should this be __has_feature(cxx_atomic) && !_LIBCPP_SINGLE_THREADED?