Remove unused generated header and rebuild the assets only when the XML has been modified