Eliminate common submodule and make the path to common configurable.