substrate: get rid of "DL is deprecated" warning on Windows