Add a build hook that downloads required modules.