dev/build: Additionally detect c-ares from the version string