Add tthread to compile under Windows