Update CodeBlocks project and fix Linux/GCC build.