This adds generic -latomic check so likely covers all architectures without 64-bit atomic built-ins (e.g. armel too).