[build.js] Fix dependencies