Fixes for stat
RVm installation.