Yes, over a period of time, and a few generations later, the birds would eventually adapt to the new situation. During Natural Selection, only the fittest that are best able to handle the change in environment will survive and pass on those traits that make them immune or resistant to the change, to their offspring.