Fixed some issues with submodules in git