Added snprintf/vsnprintf wrappers for systems that don't have