Fix dns compilation