build as json.so or jsonc.so (--with-jsonc option)
rename LIBJSON_VERSION to HAVE_LIBJSON for consistency (internal only)