Use %PATHEXT% to test for executable-class file extensions on win32