Added engine selection (3rd parameter); other changes

* Used newer Graphviz 2.36
* Used zlib as a submodule
* No unresolved functions during linkage