fixed cjson compile error in macosx, ignore temp files