adding submodules and build directories