update makefiles from c++11 to c++0x