use -std=c++0x instead of c++11

for backward compatibility