Handle case insensitive filesystems properly in the LaTeX parser generation
Handle case insensitive filesystems properly in the LaTeX parser generation

The glob module does not match case insensitively on case insensitive systems.
Furthermore, the logic of the function assumed that LaTeXparser.py and
latexparser.py would be different files, but they aren't on such systems.

kaushik94/sympy,kaushik94/sympy,kaushik94/sympy