Fix globals for dumptodot.