dmd: download additional resources before compiling

Closes #29766.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>