Only gcc 4.6 accepts typename outside template. Refs #7019
Merge branch 'feature/7019_cpp_runpythonscript' into develop