Attempt to fix mono 3.x crash in xunit