Fix make-publish.sh relative paths, allow local mocha install
Speed up node build by injecting skipDirOptimize