Add 'ld --build-id' support for pe/coff