Upstream moved build scripts to buildconfig folder and added some checks for SDL locations. This breaks `sed` expression that was replacing library paths. Fixes #60893