adds lib as a submodule