Apply vanilla 3.7.7 patches