Have cmake set doxygen to use dot if it's available.

Also a minor typos
Forgot to add this to the last commit...