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.
call run_pkg_hook with additional argument: lib=dirname(inst)