some fixes in makefile and cjson module on Windows