Fix compilation error on clang 4.2.