removed calls to pthread_self() and strptime() under windows