Fixed linking order under MinGW.

Ref.: #1044
Ignore Code:::Blocks project files.