Fixed builds on Mono