Fix warnings from Mono compiler about unused variables.