fix Rmath build dependencies