Updated submodules and simplified autogen for building submodules.