Fix legacy context on Windows
Fix bootstrap tests on windows
Use converted URLS not paths in deployment

This breaks Windows deployments otherwise