Fix CMake subproject behaviour.
Merge pull request #26 from alex-ac/master

Fix CMake subproject behaviour.

Sweet. But doesn't this assume that people call the subproject `jsoncpp`? It used to be `json-cpp`.