TBR: Fix path for node and npm.

PresubmitTest: none
Change-Id: I92f3148be23339f9866f791deb2d3e93804e95b9
diff --git a/extension/Makefile b/extension/Makefile
index 2648acf..7bed861 100644
--- a/extension/Makefile
+++ b/extension/Makefile
@@ -1,4 +1,5 @@
-PATH := node_modules/.bin:${JIRI_ROOT}/third_party/cout/node/bin:$(PATH)
+NODE_DIR := $(shell jiri v23-profile env --profile=nodejs V23_TARGET_INSTALLATION_DIR=)
+PATH := node_modules/.bin:${NODE_DIR}/bin:$(PATH)
 WSPR_ROOT := $(JIRI_ROOT)/release/go/src/v.io/x/ref/services/wspr
 SHELL := /bin/bash -e -o pipefail
 .DEFAULT_GOAL := all