Add patch for compiling with clang