Transform lib/ to a git submodule