Fix HAS_ATOMIC on linux