Solve hard link to cjson.

Replace the remaining hard link to cjson by a condition json/cjson
choice upon availability.