Added a patch with fixes for 64 bit.

This patch fixes a few linker errors and a wrong check for MinGW64 in thread.d that caused Fiber.call() to fail.