Added building for CodeBlock under unix. Adapted CMakeList.txt.