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

This fixes count_lead_ones in misc.h not compiling due to unknown types
Merge pull request #729 from stinos/fix-include-order

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