Fix warnings (causing errors) on Mono