Move build time module out of loop.