Fix the Mac build to build from packages instead of submodules.