Fixing issue with sample.patch on Windows