groundwork for phasic event detection
update AM_CXXFLAGS to use -fno-rtti and -std-c++11