Fix build for clang