Add `matchVar` to build.js.