R: make PRPACK compile in R package.