Fixed warnings in Mono.