update for building with codeblocks