Fix build with clang as in ca7da3c and enable clang build in travis