COMMON: Remove the 'std::' from calls to {,v}snprintf

Otherwise, the #define in system.h will not work
COMMON: Define PACKAGE_STRING if not using autotools

This string is used in various places, so we need to
manually define it if it hasn't been defined externally