OVS events: Fix configure script to detect YAJL tree API