Fix crashing emacs-module tests on MS-Windows