fix for dot_parser install error, based on http://stackoverflow.com/a/18547813/1063612

When installing pydot there is an error "Couldn't import dot_parser, loading of dot files will not be possible". This is a fix I found at stackoverflow (see ref in commit summary).