fix build without debug (iostream)