fix trailing whitespace.
yajl: only define isnan and isinf if not defined.