workaround for AC_PROG_CXX used conditionally

Reference:
http://lists.gnu.org/archive/html/bug-automake/2002-11/msg00020.html
Disable conditionally checking C++ compiler

This will cause linking lttng-sessiond failed:
http://lists.gnu.org/archive/html/bug-automake/2006-08/msg00025.html