unix: Fix mpconfig.h not being included before misc.h

This fixes count_lead_ones in misc.h not compiling due to unknown types