fixed cjson compile error in macosx, ignore temp files

fix issue -> https://github.com/cloudwu/skynet/issues/85