fixed bug: scons: don't throw excptions when CPPDEFINES is not defined.
add a default codeblocks template.