Add automatic module installation to buildmod.