Work around broken behaviour in aria2 async DNS

The async DNS implementation in aria2 does not support dual stack
properly. This works around that (by disabling async DNS when it
is available).

Closes #1.