compiling with c99 standard -- others using this must implement strdup
updated package.json for cpm support