fix for mono 3.8.0