Atomic: support clang 3.4+
Merge pull request #282 from Tilka/atomic_clang_fix

Atomic: support clang 3.4+