Fix generated headers in parallel builds.