Extend 'checkheaders' target to architecture-specific subdirectories.