MinGW configuration for CodeBlocks complete.
Fixed incorrect library linked for MinGW.