Create a MINGW environment variable that points to the MinGW root directory
The line above is pretty vague. The environment area isn't something you should be messing with without knowing EXACTLY what you're doing to it. Can someone be more precise?
BTW, I've gotten the PATH set up right but the Build Modules option isn't available yet.