Fix location of generated header for subproject build