Update load.r

store inst path returned from compile_dll
and give it to lib argument of run_pkg_hook