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