allow building without doxygen
fix building with yajl2