add libd as a submodule