Adding support for tcmalloc on Windows
Setting thread priorities on Windows, setting priorities only if really needed