Function CoreRedirect between modules

I ran into the issue mentioned in the ticked UE-150469.

Since this was fixed for 5.4, I’m totally fine with that. But is there a way to limit this rule to the version(s) that supports it? Otherwise when building with 5.3 it still produces an the error:

failed to add redirector, it’s not valid to modify package from %s to %s while specifying outer!