We determine the location of the target executable directory in a somewhat hacky way, but it seems reasonably stable. Co-Authored-By: Antonio Scandurra <me@as-cii.com>