Fix for global node_modules dir resolution