Fixed compilation warnings on Mono 3.4.0