Clean up the RCurl build for git checkouts.

This is a handful of fixes I needed so that the RCurl repo I cloned from github would build locally with `R CMD INSTALL .`. In particular, the fact that two files in `R/` were symlinks tripped me up for a bit (since all I got was an opaque "couldn't generate source" error from R).