Fix warnings in Mono