Fix build warnings (as errors) under mono 2.8