[test] avoid building on GCC because current version didn't support c++11

See also
travis-ci/travis-cookbooks#114
travis-ci/travis-core#195