fix bug reported by Dominick on Rcpp-devel
remove c linkage in RCPP_FUN. From Dominick's hints on Rcpp-devel