Patch for clang support.