Fix version display in windows builds (mingw)

GIT_VERSION seems to be defined but blank by default. Judging by the `config.h` code that shows a default of `#undef USE_GIT_VERSION`, I would think that this macro should be the proper #ifdef here.