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.
get graphviz path from the PATH variable instead of having to provide it by commandline cmake parameter