fix compiling with clang 3.4 on Travis