do not produce warning on msvc
fix finding graphviz on windows

There is no graphviz_version.h file in the windows package, so determine the version by executing the dot tool instead.