fix building with Clang