Fix mydns dependencies and make it build properly under 5.1
State Changed From-To: open->closed committed, thanks