Fix debug message compile warnings