Enhance Makefile and add package.json for clibs