Fix web generation on Windows platform