compile: allow npm scripts execution with root uid