R: option to build libRmath only.

Closes #1067.