Fix GCC build and update CodeBlocks project.