fix mingw atomic error