fixed missing template statement for g++ compiler
updated codeblocks file