Fix linux compilation (clang). Add codeblocks project.