[iwhd] build: fix "make rpm" to work more reliably