fix the probe so that --warn-shared-textrel gets set when possible