codeblocks build fixes