Fix pass-by-reference warning in rbuild module.
Merge branch 'SCHOLAR-3.x' of github.com:openscholar/openscholar into master7