Added check to turn off the multithreading option if the OS isn't windows