Fix Nemerle.VirtualStatics.
Enum.HasFlag present from .NET 4.0 only.