Fixed compiler warnings under Mono