Be defensive detecting when Mono not running