fix compilation on mono 2.10