build: load modules in build script

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>