Fixed building with clang + libstdc++ in C++03 mode. Shortened namespace aliases and made std/boost::atomic selection similar to std/boost::system_error.