winewrap.c bombs when building on mingw