[misc] use -std=c++0x since gcc < 4.7 do not recognise c++11