Apply vanilla 3.10.7 patches