update build scripts to use R-3.1.2.tar.gz [ci skip]