Fix test_sysconfig when prefix != exec-prefix (#9100).

Reported by Zsolt Cserna.
1 file changed