Fixed compilation with DEBUG configuration.