Set argv[0] to store path in forward slashes also on Windows. Fixes #2607.