Allow yajl to use C runtime functions (malloc, realloc, free)

It turned out that yajl uses malloc()/free()/realloc() if we do
not set these callbacks. So we do this here.

This is an rip from #260.