Fix some compiler error in ReflectionEx.