R: use useDynLib instead of library.dynam, for devtools