Revert "build: fix target header overlay"

This reverts commit bebcd4f60ce5a79b9d388ab5e234932b97a597c2.