build system: only depend on .png header for files actually using them