Remove using namespace std from global namespace

This is generally bad practice, and has been shown to break (admittedly
awkward) implicit namespace resolution in other libraries.