check pydot version at runtime

to avoid using an older version, because it causes failures in tests.