Try to use `xdg-open` as a browser on Linux

`xdg-open` is a command similar to `open` - it tries to find a preferred
command to open a resource with. However, it isn't present on some
machines (depending on window manager/desktop environment), thus we have
to check for it's existance with `which`.