Fix generated headers and cdeps.