Check whether pdflatex and xdg-open are available