[SOLVED-maybe]Compiling caterina bootloader in win 8.1

Has anyone experienced errors compiling caterina bootloader in win 8.1? My errors are:

      0 [main] sh 6744 sync_with_child: child 8804(0x160) died before initializa
tion with status code 0xC0000142
    224 [main] sh 6744 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
      0 [main] sh 3188 sync_with_child: child 5344(0x160) died before initializa
tion with status code 0xC0000142
    318 [main] sh 3188 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable

I tried a few solutions found online and none worked such as this:

http://www.avrfreaks.net/forum/windows-81-compilation-error?name=PNphpBB2&file=viewtopic&t=137881

I was able to build on a win 7 machine at work.

Update:

Using the solution I provided above (link to a file to replace mysys-1.0.dll) and compiling in command line prompt cmd.exe under c:\system\SysWOW64\ worked. When I was compiling earlier, I was using cmd.exe in c:\system\System32. The two are different. I was using this one in win 7 but it worked without the .dll replacement. It must be the difference between win 8.1 and win 7/8. I spent a large part of the evening fighting this problem and didn't have time to compare the complied binary with the one I compiled in win7.