Fix warnings (causing errors) from Mono