Be sure you:

a) have an updated scripts directory;
b) have SET your mingw path properly.

If you think you have both but still have problems, try using cmder instead of the prompt. It might help.