Add submodules in the lib directory.