[dist] Use `rimraf` fixed to work with SunOS