compile json lib when compile project: