mergetool-lib: fix default tool selection