Patch for auto_execok on Windows