fix load_all()

I think there is a mistake line 37 of compile-dll.r: "inst" must be inst.
Otherwise file.copy quietly fails.
I also suggest to look at the returned boolean and throw an error.
store the output of compile_dll