Use a more robust search routine for find_executable_prefix on Linux (based on
SAGA code).