Fix build for Mono.