fix link if system json lib exists