Fixed zero hardware thread count

A missing include caused sysconf not to be called, which lead
to the hardware thread count being zero on most non-Windows systems.

Change-Id: I102c04f494f2946725bb5714482cb861aa8f69fc