fix load.install.library adding library function