Fix for MinGW32 compilation, "using namespace" removal

+ added cast to "unsigned char *" for U2S() function (for MinGW32).
+ removed "using namespace" in conversions - it may be error prone.