`IF (NOT MINGW)` is what you need. 

And keep an empty line at the bottom.