move dll replacement from init to deps/build.jl

also handle failure more gracefully