Fixes add_dependies issue with tool.
Makes straight compilation of man almost work except for linker errors.