Agreed - dinosaurs were reptilian (genetically speaking), but modern birds are directly descended from the original bipedal dinosaurs (raptors, etc.) whereas modern reptiles such as lizards and crocodilians were already well evolved at the time of the dinosaurs. Fossils of eryops (the modern crocodile) were around 300 million years ago, long before the bipedal dinosaurs. :-)