Ensure both TeX and Lilypond are present before doing Sphinx install

Signed-off-by: George K. Thiruvathukal <gkt@cs.luc.edu>