mingw build fixes for yajl_gen