Track function dependencies of variables in build.js.