Fixing issues with adding submodules.