It wasn't the chicken which we know today, but its predecessor which laid the egg that contained the chicken. Oversimplified, x+y=z. One does not require z in order to have it as an end product. Bear in mind it is commonly accepted that this process is so gradual, that most biologists consider 20,000 years to be an acceptable timescale for ONE successful mutation.