This is a scattergun fix for permissions issues (needing sudo for npm install -g) on OSX