Fix out-of-tree build
Add cmake module to find jsoncpp files
Fix build again