adjust atomic_count.hpp to only use libstdc++ when it has been built with thread support and fall back to using the pthreads implementation. diagnosed, tested and okay deanna@