Let CMake handle c-ares
Fix some issues pointed out in review.