Fix generate-info so runs on Windows