Fix "warning: 'snprintf' macro redefined".