Another fix to order of R extensions