run apt-get update in non c++11 mode