fix to allow builds on mono 2.10.x