fixed compilation error on mono