Fix MPS-19649 wrong "unqualified non-local static call" error