Prepare submodules on installation.