Apply Hivex build fix from Hilko

Found necessary for CentOS.