fix json lib name
create m4 and config dir