Updated build script to reflect the use of submodules.