changed profile file workaround in build_module