Fix build for mono
Merge remote-tracking branch 'upstream/master'