Fixed header/platform issues with snprintf.