Fix c-ares support for PY3