fix makefile npm permissions problems