Fix to support 64bit Windows (mingw-w64)