allow global npm installs

if the `-g` is passed in with options, ownership of /usr/local will be given to the current user so global installs will work.