prepare for c++11: stop forcing -ansi
fix compile of expression grammer with clang++/libc++/c++11
fix debug.cpp error output (now compiles against libc++)