Fixed build on Mono.