added useDynLib tag to the lagr-package.r file