Use system-provided version of YAJL where available

fixes #7454