test if std::atomic works on mingw
fix mingw64 warning