consistenly upgrade compiler, if needed for C++11