Fix bug where C compiler used instead of C++ for autoconf tests