added root dir to build.js