fixed cjson compile error in macosx, ignore temp file in git