build: Add separate flags for checkheaders targets