Apply patch for possible cpu optimizations