fix report generation on windows