Add back code for supporting old mingw versions. Should bring the bots back.