Address @nsubtil comments on code-review

* move find packages to root CMakeLists.txt
* swtich add->definitions to target_compile_definitions