fixed: compile cjson object into libopm-json

i see no reason to keep the separate library and this circumvents
shared vs static linking issues in downstream modules.

an alternative fix is to fix the opm buildsystems to prioritize config
mode. that would be more involved.