Allow modules to use all-uppercase variables

For compatibility with packages that believes that every variable
should be in uppercase, we try this variant when adding relevant
variables to the project.