cmake: allow to disable multithreading support

This commit additionally enables threading for win32 by default.
2 files changed