Fix compile error with clang 4.0