Unify the probe finding code for all platforms.

We now exclusively rely on the relative path to our own executable, which
makes the installation relocatable. Same is still needed for the plugins
though.