fix compiling with clang 3.4