Fix build with Apple Clang