Adding workaround for the fact that mono and ms clr have different enum values