Replace some .mak files by .rbuild files