Fixed to build with mono.