Fixing build for x86_64-w64-mingw32