C++ library usage fix: snprintf() may or may not be in std::
Compilation error fixes, thanks GCC 4.8