add more precise check on std atomic, specialy to avoid using uncompatible implementatiwqon (gcc 4.9 android)