use common r-makefile; use Boost when building mlpack; run fix link script