bring all global module flags to the root project.
more decoupling of third-party.