Remove R_API/R_VISIBLE in sdb.h and fix install
Remove the use of R_API keyword
SDB_VISIBLE -> SDB_API