Fixed codeblocks compile for linux targets