tests: 96, 558, 1330: strip build subdirectory dependent leading path