Fix for MinGW32 build ("using namespace" removal)

+ added missing "std::" prefixes