travis is GCC < 4.7 so need to use c++0x instead of c++11