Use C++ compiler for allocator existance testing

Every test in m4/ax_allocator.m4 relies on C++ compiler. On my machine (Ubuntu 13.04) those tests run with C compiler and eventually compilation errors are produced.