Hello Asher, maybe you want to incorporate the changes given here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944431#31 Unfortunately I was too late there.
Then the call to e.g. SetThreadPriority would not needed to get commented out, and the "-O0" fix in #944431 could be removed again, I guess. Kind regards, Bernhard