fix to build with clang in Travis CI