This appears to be needed in some Python distutils for the library to get on RPATH correctly. I’m not sure why this worked before, but I needed this value set for Python 3.8 numpy to work correctly.
By applying the old patch (compatible with 1.18.x and older). Also refactor expression to make presence of the "old" version more explicit.