PORT: call_with_time_limit/2 was not functioning properly on Windows
because ETIMEDOUT has different definitions in errno.h and thread.h.