Fix race conditions where generated headers are not created before they are needed in the build. PR: 278693
fa01e117e2