Support non-debian distros when checking TexLive

When TexLive is installed, the `latex` command is usually present.