remove dead code from recipe_module_adaptor
build modules