Updated MacOS check
Even better MacOS detection
Added support for dot2tex (fixes #88)