Add missing zlib files in Code::Blocks project

They're used for compressing PNG screenshots.
Fix building BSPC in Code::Blocks
Fix all mingw BSPC warnings