extconf: fix compilation error with c++11