add configure option --disable-c++11
reorder configure script