Fixes add_dependies issue with tool.
Makes straight compilation of man almost work except for linker errors.
Merge pull request #472 from emamanto/master

Small Cmake Fixes