[travis] only set -stdlib for clang, since g++ cannot handle it