mono -> dotnet eclass & lesser fixes