message: Fix the Windows build.
diff: #include <limits.h>
  -#ifndef _MSC_VER
  +#ifdef _MSC_VER
  +#include <Shlwapi.h>
  +#pragma comment(lib, "Shlwapi.lib")
  +#else
  #include <libgen.h>
  #endif
  int main(int argc, char** argv) {
  #ifdef _MSC_VER
  char path[MAX_PATH];
  - if (GetModuleFileNameA(NULL, path, sizeof(path)) > 0) {
  - PathRemoveFileSpec(path);
  - SetCurrentDirectory(path);
  + if (GetModuleFileNameA(NULL, path, sizeof(path)) == 0) {
  + fprintf(stderr, "Failed to retrieve path to exectuable.\n");
  + return 1;
  }
  - else
  -#endif
  - {
  + PathRemoveFileSpecA(path);
  + SetCurrentDirectoryA(path);
  +#else
  char executable[PATH_MAX];
  realpath(argv[0], executable);
  const char* directory = dirname(executable);
  chdir(directory);
  - }
  +#endif
  int result = Catch::Session().run(argc, argv);
  return result < 0xff ? result : 0xff;
  