Fix typo.
Determine the graphviz libraries to link against using pkg-config.

We'll need to make an alternative when pkg-config is not present - allowing
the user to specify the libraries may be sufficient?
Close element refs properly.