BUG: Use JsonCppConfig.cmake only if the file is present.

Co-authored-by: Jamie Snape <jamie.snape@kitware.com>
Merge pull request #9 from thewtex/JsonCpp_DIRDefined

BUG: Use JsonCppConfig.cmake only if the file is present.