allow compiling with clang