````atomic_bool````should be ````atomic<bool> in order for it to build on C++11.
See: http://stackoverflow.com/questions/14136128/clang-doesnt-know-stdatomic-bool-but-xcode-does