Added a conditional loading of the latex-toolbar depending on the os.